package com.netposa.datawarehouse.statistics.vo;

import com.alibaba.fastjson.JSONArray;

public class MonitorResp {
   private Integer resultCode;
   private String resultMessage;
   private JSONArray data;

   public Integer getResultCode() {
      return this.resultCode;
   }

   public String getResultMessage() {
      return this.resultMessage;
   }

   public JSONArray getData() {
      return this.data;
   }

   public void setResultCode(Integer resultCode) {
      this.resultCode = resultCode;
   }

   public void setResultMessage(String resultMessage) {
      this.resultMessage = resultMessage;
   }

   public void setData(JSONArray data) {
      this.data = data;
   }

   public boolean equals(Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof MonitorResp)) {
         return false;
      } else {
         MonitorResp other = (MonitorResp)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            label47: {
               Object this$resultCode = this.getResultCode();
               Object other$resultCode = other.getResultCode();
               if (this$resultCode == null) {
                  if (other$resultCode == null) {
                     break label47;
                  }
               } else if (this$resultCode.equals(other$resultCode)) {
                  break label47;
               }

               return false;
            }

            Object this$resultMessage = this.getResultMessage();
            Object other$resultMessage = other.getResultMessage();
            if (this$resultMessage == null) {
               if (other$resultMessage != null) {
                  return false;
               }
            } else if (!this$resultMessage.equals(other$resultMessage)) {
               return false;
            }

            Object this$data = this.getData();
            Object other$data = other.getData();
            if (this$data == null) {
               if (other$data != null) {
                  return false;
               }
            } else if (!this$data.equals(other$data)) {
               return false;
            }

            return true;
         }
      }
   }

   protected boolean canEqual(Object other) {
      return other instanceof MonitorResp;
   }

   public int hashCode() {
      
      int result = 1;
      Object $resultCode = this.getResultCode();
      result = result * 59 + ($resultCode == null ? 43 : $resultCode.hashCode());
      Object $resultMessage = this.getResultMessage();
      result = result * 59 + ($resultMessage == null ? 43 : $resultMessage.hashCode());
      Object $data = this.getData();
      result = result * 59 + ($data == null ? 43 : $data.hashCode());
      return result;
   }

   public String toString() {
      return "MonitorResp(resultCode=" + this.getResultCode() + ", resultMessage=" + this.getResultMessage() + ", data=" + this.getData() + ")";
   }
}
